package com.inhg.inhg_android.net.error;

/**
 * Created by ZengYan on 2017/7/26.
 * Email : 810989881@qq.com
 *
 * @decs :
 */

public class BaseException extends Exception{

    private int code;

    public BaseException(String message) {
        super(message);
    }

    public BaseException(String message, int code) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
